//
//  MSTopSegment.h
//  MinShengBank
//
//  Created by chen wei on 13-4-18.
//  Copyright (c) 2013年 CNTaiPing. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol MSTopSegmentDelegete <NSObject>
- (void)selectedSegmentAtIndex:(int)index;
@end

@interface MSTopSegment : UIImageView
@property(nonatomic, assign)id<MSTopSegmentDelegete> delegate;
@property(nonatomic, assign)int selectedIndex;
@property(nonatomic, assign)NSString* tag;

- (void)addSegment:(NSString*)title;
- (void)addNotselectname:(NSString*)notname select:(NSString*)selename;

- (void)setselect:(BOOL)value withinde:(int)index;


@end
